/* Copyright (c) 2009 - 2010 98Labs Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.sbal89.map.util;

public class BaseUtil {
	
	public final static String SI_NAME = "98labs-EEMAP-v1.0";
	
	//Service credentials
	public final static String U_NAME = "put username here";
	public final static String U_PASS = "put password here";
	
	//Spreadsheet filenames
	public final static String ACCOUNTS = "user-accounts";  
	public final static String DOT = ".";
	public final static String COLON = ":";

	//Session variables
	public final static String USER = "user";
	public final static String AUTH = "auth";
	public final static String MESSAGE = "msg";
	
	//Request variables
	public final static String DOCLIST = "doclist";
	public final static String R_TYPE = "type";
	public final static String R_KEY = "key";
	
	
	//Context variables
	public final static String SPR_SERVICE = "sprservice";
	public final static String DOC_SERVICE = "docservice";
	
	//Parameter names
	public final static String P_TYPE = "type";
	public final static String P_KEY = "key";
	public final static String P_RESID = "resid";
	public final static String P_TITLE = "title";
	
	//JSPs
	public final static String DEFAULT_VIEW = "WEB-INF/jsp/redirect.jsp";
	public final static String LOGIN_VIEW = "WEB-INF/jsp/login.jsp";
	public final static String DASHBOARD_VIEW = "WEB-INF/jsp/dashboard.jsp";
	public final static String EMBEDCODE_VIEW = "WEB-INF/jsp/embedcode.jsp";
	public final static String CREATEMAP_VIEW = "WEB-INF/jsp/createmap.jsp";
	public final static String SHEET_VIEW = "WEB-INF/jsp/sheet.jsp";
	
	//Timezones
	public final static String TZ_MANILA = "Asia/Manila";
	
	//Date formats
	public final static String DEF_DATE = "MM/dd/yyyy HH:mm:ss";
}
